<?php

defined('BY_JYA') or exit('error');
list($code)=$arguments;
		$token =  cfc('account')->getAccessToken();
		$url = 'https://api.weixin.qq.com/cgi-bin/template/api_add_template?access_token=' . $token;
		$bb = '{"template_id_short":"' . $code . '"}';
		$c = cfc('http')->ihttp_post($url, $bb);
		$result = @json_decode($c['content'], true);
return $result ;
